package com.xtck.ha.fault.modules.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;
/**
* @ClassName: FmeaInfo
* @Description: 实体类
* @author liuyuan
* @date 2025-06-17
*/
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("FAULT_SYS.FMEA_INFO")
public class FmeaInfo  implements Serializable  {
    private static final long serialVersionUID = 1L;
        /**
        * id
        */
        @TableId(value = "id",type = IdType.AUTO)
        private Long id;
        /**
        * 失效种类
        */
        private String failureMode;
        /**
        * 造成的影响
        */
        private String effect;
        /**
        * 严重性
        */
        private Integer severity;
        /**
        * 失效原因
        */
        private String cause;
        /**
        * 失效发生概率
        */
        private String occurrence;
        /**
        * 当前工序控制方法
        */
        private String currentProcessControlPlan;
        /**
        * 检测失效的能力
        */
        private String detection;
        /**
        * 风险优先指数
        */
        private Integer rpn;
        /**
        * 改善方案
        */
        private String recommendedAction;
        /**
        * 创建时间
        */
        private Date createTime;
        /**
        * 故障推断任务id
        */
        private Long taskId;
        /**
        * 故障推断起始时间
        */
        private Date startTime;
        /**
        * 故障推断结束时间
        */
        private Date endTime;
}